#include "header.h"
#include "rt.h"

int		error_msg(const char *err, const char *context, const int attrib)
{
	fprintf(stderr, "%s: %s\n", err, context);
	getchar();
	return (attrib);
}

int		errno_msg(const char *err, const int attrib)
{
	perror(err);
	getchar();
	return (attrib);
}